package com.wx.chapter10.interface_;

/**
 * ClassName:InterfaceDetail01
 * Package :com.wx.chapter10.interface_
 * Description :
 *
 * @Author : coder_mu
 * @Create : 2023/6/8 - 19:10
 */
public class InterfaceDetail01 {
    public static void main(String[] args) {
//        IA ia = new IA();
    }
}

interface IA {
    void say();//在接口中 修饰符不写就是public

    void hi();
}

class Cat implements IA {

    @Override
    public void say() {

    }

    @Override
    public void hi() {

    }
}

abstract class Tiger implements IA {
}